package com.iterator.mapper.web.aop;

import org.apache.ibatis.annotations.Param;

import java.util.Date;

/**
 * @author: Silence_W
 * @date: 2021-01-14 21:36
 **/
public interface AopMapper {
    void insertLog(@Param("username") String username, @Param("host") String host,
                   @Param("i") int i, @Param("name") String name,
                   @Param("status") int status, @Param("result") String result,
                   @Param("o") String o, @Param("date") Date date,
                   @Param("date1") Date date1, @Param("i1") int i1);

    Integer selectUseridById(@Param("username") String username);

    Integer selectCountByGood(@Param("goodsId") Integer goodsId,@Param("userId") Integer userId);

    void updateFootPrint(@Param("goodsId") Integer goodsId, @Param("date") Date date,@Param("userId") Integer userId);

    void insertFootprint(@Param("userId") Integer userId, @Param("goodsId") Integer goodsId, @Param("date") Date date, @Param("date1") Date date1, @Param("i") int i);
}
